-
Notifications
You must be signed in to change notification settings - Fork 31
Java10 support #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dapanghu
wants to merge
11
commits into
DrJavaAtRice:master
Choose a base branch
from
dapanghu:java10_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Java10 support #15
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…" to the Drop-down menu and tool bar. Doing this by create a new class MyJUnitCore extended JunitCore which can run testsuite in parallel. It will be called in JUnitParallelTestRunner that extended JUnitTestRunner. JUnitParallelTestRunner is called by JUnitParallelTestManager that extended JUnitTestManager. All the test can pass. The files that changed or added modified: drjava/build.xml modified: drjava/src/edu/rice/cs/drjava/CommandLineTest.java modified: drjava/src/edu/rice/cs/drjava/DrJavaTestCase.java modified: drjava/src/edu/rice/cs/drjava/config/OptionConstants.java modified: drjava/src/edu/rice/cs/drjava/model/DJError.java modified: drjava/src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java modified: drjava/src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitErrorModelTest.java modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitModel.java new file: drjava/src/edu/rice/cs/drjava/model/junit/JUnitParallelTestManager.java new file: drjava/src/edu/rice/cs/drjava/model/junit/JUnitParallelTestRunner.java modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitTestManager.java modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitTestRunner.java new file: drjava/src/edu/rice/cs/drjava/model/junit/MyJUnitCore.java modified: drjava/src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVM.java modified: drjava/src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVMRemoteI.java modified: drjava/src/edu/rice/cs/drjava/model/repl/newjvm/MainJVM.java modified: drjava/src/edu/rice/cs/drjava/ui/ErrorPanel.java modified: drjava/src/edu/rice/cs/drjava/ui/JUnitPanel.java modified: drjava/src/edu/rice/cs/drjava/ui/MainFrame.java modified: drjava/src/edu/rice/cs/drjava/ui/coverage/CoverageFrame.java modified: drjava/src/edu/rice/cs/util/LogTest.java
…arallel=true and -DThreadCount=4 (This is the number of thread used to test in parallel) modified: build.xml
…tCase to reuse it. GlobalModelJUnitParallelTest and GlobalModelJUnitTest will extend GlobalModelJunitTestCase and run those testcase in parallel and sequential way. modified: build.xml new file: src/edu/rice/cs/drjava/model/GlobalModelJUnitParallelTest.java modified: src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java new file: src/edu/rice/cs/drjava/model/GlobalModelJunitTestCase.java modified: src/edu/rice/cs/drjava/model/GlobalModelTestCase.java modified: src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java modified: src/edu/rice/cs/drjava/model/junit/JUnitParallelTestManager.java modified: src/edu/rice/cs/drjava/model/junit/MyJUnitCore.java modified: src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVM.java modified: src/edu/rice/cs/util/LogTest.java
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This version of drjava can be compiled by Java10 in mac and pass most of Test except testDancingUI.